package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;

import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Result orderByTel(Map<String,String> map,Integer[] setmealIds) throws Exception;
    public Map findById(Integer id) throws Exception;

    PageResult findOrderByPage(QueryPageBean queryPageBean);

    void cancelOrder(Integer orderId, String orderDate) throws Exception;

    Map find2DetailsById(Integer orderId) throws Exception;
}
